package com.hackordie.operations;

import com.hackordie.commons.HackOrDieResult;
import com.hackordie.daos.ComponentsDao;
import com.hackordie.exceptions.HackOrDieException;

public abstract class AHackOrDieOperationComponents extends AHackOrDieOperation {

	protected ComponentsDao componentDao;

	public AHackOrDieOperationComponents() {
		super();		
		componentDao = factory.getBean("componentDao", ComponentsDao.class);
	}

	protected abstract boolean checkParameters();

	protected abstract HackOrDieResult executeOperation() throws HackOrDieException;
}
